Termination Proof Script

Consider the TRS R consisting of the rewrite rules
1:    from(X)  → cons(X,n__from(s(X)))
2:    first(0,Z)  → nil
3:    first(s(X),cons(Y,Z))  → cons(Y,n__first(X,activate(Z)))
4:    sel(0,cons(X,Z))  → X
5:    sel(s(X),cons(Y,Z))  → sel(X,activate(Z))
6:    from(X)  → n__from(X)
7:    first(X1,X2)  → n__first(X1,X2)
8:    activate(n__from(X))  → from(X)
9:    activate(n__first(X1,X2))  → first(X1,X2)
10:    activate(X)  → X
There are 5 dependency pairs:
11:    FIRST(s(X),cons(Y,Z))  → ACTIVATE(Z)
12:    SEL(s(X),cons(Y,Z))  → SEL(X,activate(Z))
13:    SEL(s(X),cons(Y,Z))  → ACTIVATE(Z)
14:    ACTIVATE(n__from(X))  → FROM(X)
15:    ACTIVATE(n__first(X1,X2))  → FIRST(X1,X2)
The approximated dependency graph contains 2 SCCs: {11,15} and {12}. Hence the TRS is terminating.
Tyrolean Termination Tool  (0.47 seconds)   ---  May 3, 2006